package com.vpen.account.demo.model.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 韦鹏
 * @desc
 * @date 2022/7/15 16:24
 **/
@Getter
@AllArgsConstructor
public enum UserRoleEnum {
    /**
     * 普通用户
     */
    USER(0),
    /**
     * 管理人员
     */
    ADMIN(1);

    @JsonValue
    private final Integer value;
}
